package com.moto.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.moto.repository.UserRemindRepository;
import com.moto.service.UserRemindService;

@Service("userRemindService")
public class UserRemindServiceImpl implements UserRemindService {

	@Autowired
	private UserRemindRepository  userRemindRepository;

	@Override
	public int deleteByPostsId(String postsId) {
		return userRemindRepository.deleteByPostsId(postsId);
	}
}
